package com.hpjpw.ido.service;

import java.util.List;
import com.hpjpw.ido.domain.AnonymousMoment;

/**
 * 撕逼墙Service接口
 * 
 * @author hpj
 * @date 2021-01-08
 */
public interface IAnonymousMomentService 
{
    /**
     * 查询撕逼墙
     * 
     * @param id 撕逼墙ID
     * @return 撕逼墙
     */
    public AnonymousMoment selectAnonymousMomentById(Long id);

    /**
     * 查询撕逼墙列表
     * 
     * @param anonymousMoment 撕逼墙
     * @return 撕逼墙集合
     */
    public List<AnonymousMoment> selectAnonymousMomentList(AnonymousMoment anonymousMoment);

    /**
     * 新增撕逼墙
     * 
     * @param anonymousMoment 撕逼墙
     * @return 结果
     */
    public int insertAnonymousMoment(AnonymousMoment anonymousMoment);

    /**
     * 修改撕逼墙
     * 
     * @param anonymousMoment 撕逼墙
     * @return 结果
     */
    public int updateAnonymousMoment(AnonymousMoment anonymousMoment);

    /**
     * 批量删除撕逼墙
     * 
     * @param ids 需要删除的撕逼墙ID
     * @return 结果
     */
    public int deleteAnonymousMomentByIds(Long[] ids);

    /**
     * 删除撕逼墙信息
     * 
     * @param id 撕逼墙ID
     * @return 结果
     */
    public int deleteAnonymousMomentById(Long id);
}
